package com.amrit.revision;

public class Child extends Parent {
	void m2() throws MyCustomException{
		System.out.println("Inside m2 of B");
		//throw new MyCustomException("Custom Exception thrown");
		//throw new MyCustomException();
	}

	int m3() {
		System.out.println("Inside m3 of B");
		return 2;
	}
}
